Repository navigation
fix: send explicit headers for Ubuntu verification fixtures - #550
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Server605 publication built and flattened the exact candidate and passed its JDK runtime check, then failed before the Brotli probe while Python urllib fetched the pinned official source fixture (HTTP403). The same URL returns the exact locked646398-byte archive and SHA-256 with explicit request headers.
Give both raw urllib downloads in this publisher a clear first-party User-Agent and Accept-Encoding: identity. This covers the source-header fixture and the later official libbrotli1 binary fixture. Keep both original official URLs, timeouts, maximum reads, exact sizes/SHA-256, the existing no-redirect assertion and every native runtime/security probe unchanged. There are no runtime, component, version, lock or package changes.
Validation: executed both modified inline workflow Python blocks independently against the real official sources. Header extraction passed from the original archive SHA-256 eb5f7dadf215d0670665fd81566e1fe2dfdc154d983f09142de7299df4c182e6; the official343132-byte libbrotli1 fixture passed its original SHA-256 bedeef1cf3268f90338c411cdb0a45b224d0660fd2240f310f380316c8244606. Python parsing and diff checks pass. The native Brotli probe remains an unchanged mandatory remote publication check. Required CodeQL and normal publication from the new exact main producer follow this PR.